module.exports = {
    configureWebpack: {
        resolve: {
            alias: {
                assets: '@/assets',
                css: '@/assets/css',
                views:"@/views"
            }
        }
    },
    devServer: {
        proxy: {
            '/api': {
                target: 'http://localhost:8080',
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                    '^/api': '/api'
                }

            }
        }
    }
}
